package com.wtone.platform.gat.images.gat.service;

import com.wtone.platform.gat.images.gat.model.ApeListObject;
import com.wtone.platform.gat.images.gat.model.ResponseStatusListModeObject;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: aiLin
 * @Date: 2020/10/7 15:32
 * @desc: 采集设备接口
 */
public interface ApesService {

    /***
     * 查询设备信息接口
     * @param ApeID
     * @param Name
     * @param Model
     * @param IPAddr
     * @param Port
     * @param PlaceCode
     * @param IsOnline
     * @param UserId
     * @return
     */
    ApeListObject queryApes(
            @RequestParam(name = "ApeID",required = false) String ApeID,
            @RequestParam(name = "Name",required = false) String Name,
            @RequestParam(name = "Model",required = false) String Model,
            @RequestParam(name = "IPAddr",required = false) String IPAddr,
            @RequestParam(name = "Port",required = false) String Port,
            @RequestParam(name = "PlaceCode",required = false) String PlaceCode,
            @RequestParam(name = "IsOnline",required = false) String IsOnline,
            @RequestParam(name = "UserId",required = false) String UserId);

    /**
     * 修改采集设备
     * @param apeListObject
     * @return
     */
    ResponseStatusListModeObject updateApes(ApeListObject apeListObject);

    /***
     * 添加采集设备
     * @param apeListObject
     * @return
     */
    ResponseStatusListModeObject AddApes(ApeListObject apeListObject);
}
